﻿<controls:ChildWindow xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit" x:Class="WellDone.EditTimeSensitivePricingDialog"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
           Width="355" Height="223"
           Title="Edit Time Sensitive Pricing">
    <Grid x:Name="LayoutRoot" Margin="2,2,2,-9">
        <Grid.RowDefinitions>
            <RowDefinition Height="140" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <sdk:Label HorizontalAlignment="Left" Content="Start" Height="19" Margin="10,4,0,0" VerticalAlignment="Top" Width="42"/>
        <sdk:DatePicker Height="23" HorizontalAlignment="Left" Margin="80,0,0,0" x:Name="dpStart" VerticalAlignment="Top" Width="115"/>
        <toolkit:TimePicker x:Name="tpStarttime" HorizontalAlignment="Left" Margin="200,0,0,0" VerticalAlignment="Top" Width="115"/>
        <sdk:Label HorizontalAlignment="Left" Content="End" Height="19" Margin="10,35,0,0" VerticalAlignment="Top" Width="42"/>
        <sdk:DatePicker Height="23" HorizontalAlignment="Left" Margin="80,30,0,0" x:Name="dpEnd" VerticalAlignment="Top" Width="115" />
        <toolkit:TimePicker x:Name="tpEndtime" HorizontalAlignment="Left" Margin="200,30,0,0" VerticalAlignment="Top" Width="115"/>
        <sdk:Label HorizontalAlignment="Left" Content="Interval" Height="19" Margin="10,65,0,0" VerticalAlignment="Top" Width="42"/>
        <ComboBox x:Name="cmbIntervals"  HorizontalAlignment="Left" Margin="80,60,0,0" VerticalAlignment="Top" Width="187" Height="27"/>
        <sdk:Label x:Name="lblPrice" HorizontalAlignment="Left" Height="19" Margin="10,105,0,0" VerticalAlignment="Top" Width="28" Content="Price" RenderTransformOrigin="0.586,-0.343"/>
        <TextBox x:Name="tbPrice" HorizontalAlignment="Left" Height="35" Margin="80,95,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="87" MaxLength="10"/>
        <Button x:Name="CancelButton" Content="Cancel" Click="CancelButton_Click" Width="75" HorizontalAlignment="Right" Margin="0,14,0,2" Grid.Row="1" />
        <Button x:Name="OKButton" Content="OK" Click="OKButton_Click" Width="75" HorizontalAlignment="Right" Margin="0,14,79,2" Grid.Row="1" />
    </Grid>
</controls:ChildWindow>